package reggie.service;

import reggie.dto.DishDto;
import reggie.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author Administrator
 * @description 针对表【dish(菜品管理)】的数据库操作Service
 * @createDate 2022-08-12 19:56:16
 */
public interface DishService extends IService<Dish> {
    //新增菜品 并插入对应口味
    public void saveWithDishFlavor(DishDto dishDto);

    //根据id查询菜品的口味
    public DishDto getByIdWithFlavor(Long id);

    //修改方法  更新菜品
    public void updateWithDishFlavor(DishDto dishDto);

    //删除菜品方法
    public void deleteByIds(Long [] ids);


}
